package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 区县表
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("base_county")
public class BaseCounty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 区ID
     */
    @TableId(value = "county_id", type = IdType.AUTO)
    private Integer countyId;
    /**
     * 区代码
     */
    @TableField("county_code")
    private String countyCode;
    /**
     * 区名称
     */
    @TableField("county_name")
    private String countyName;
    /**
     * 区拼音
     */
    @TableField("county_pinyin")
    private String countyPinyin;
    /**
     * 排序
     */
    @TableField("county_order")
    private Integer countyOrder;
    /**
     * 城市ID
     */
    @TableField("city_id")
    private Integer cityId;
    /**
     * 邮编编号
     */
    private Integer postcode;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建者
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 修改者
     */
    @TableField("modified_by")
    private String modifiedBy;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 数据状态 0 删除 1正常
     */
    @TableField("rd_status")
    private Integer rdStatus;


    public Integer getCountyId() {
        return countyId;
    }

    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getCountyPinyin() {
        return countyPinyin;
    }

    public void setCountyPinyin(String countyPinyin) {
        this.countyPinyin = countyPinyin;
    }

    public Integer getCountyOrder() {
        return countyOrder;
    }

    public void setCountyOrder(Integer countyOrder) {
        this.countyOrder = countyOrder;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getPostcode() {
        return postcode;
    }

    public void setPostcode(Integer postcode) {
        this.postcode = postcode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "BaseCounty{" +
        ", countyId=" + countyId +
        ", countyCode=" + countyCode +
        ", countyName=" + countyName +
        ", countyPinyin=" + countyPinyin +
        ", countyOrder=" + countyOrder +
        ", cityId=" + cityId +
        ", postcode=" + postcode +
        ", remark=" + remark +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", modifiedBy=" + modifiedBy +
        ", modifiedTime=" + modifiedTime +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
